package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_findEntityByAttributeColumns_1 implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_java = "org.eclipse.jet.javaTags"; //$NON-NLS-1$

    public _jet_findEntityByAttributeColumns_1() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_iterate_2_1 = new TagInfo("c:iterate", //$NON-NLS-1$
            2, 1,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "$bcols", //$NON-NLS-1$
                "attribute", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_import_3_10 = new TagInfo("java:import", //$NON-NLS-1$
            3, 10,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_3_51 = new TagInfo("c:get", //$NON-NLS-1$
            3, 51,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_3_107 = new TagInfo("c:get", //$NON-NLS-1$
            3, 107,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_3_159 = new TagInfo("c:get", //$NON-NLS-1$
            3, 159,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_3_210 = new TagInfo("c:get", //$NON-NLS-1$
            3, 210,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "($attribute/@javaType)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_3_251 = new TagInfo("c:get", //$NON-NLS-1$
            3, 251,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_import_3_310 = new TagInfo("java:import", //$NON-NLS-1$
            3, 310,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_5_14 = new TagInfo("c:get", //$NON-NLS-1$
            5, 14,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_5_70 = new TagInfo("c:get", //$NON-NLS-1$
            5, 70,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_5_122 = new TagInfo("c:get", //$NON-NLS-1$
            5, 122,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_5_173 = new TagInfo("c:get", //$NON-NLS-1$
            5, 173,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "($attribute/@javaType)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_5_214 = new TagInfo("c:get", //$NON-NLS-1$
            5, 214,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_if_6_2 = new TagInfo("c:if", //$NON-NLS-1$
            6, 2,
            new String[] {
                "test", //$NON-NLS-1$
            },
            new String[] {
                "$attribute/@javaType='String'", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_14 = new TagInfo("c:get", //$NON-NLS-1$
            7, 14,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_70 = new TagInfo("c:get", //$NON-NLS-1$
            7, 70,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_122 = new TagInfo("c:get", //$NON-NLS-1$
            7, 122,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_183 = new TagInfo("c:get", //$NON-NLS-1$
            7, 183,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "($attribute/@javaType)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_224 = new TagInfo("c:get", //$NON-NLS-1$
            7, 224,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_9_14 = new TagInfo("c:get", //$NON-NLS-1$
            9, 14,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_9_70 = new TagInfo("c:get", //$NON-NLS-1$
            9, 70,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_9_122 = new TagInfo("c:get", //$NON-NLS-1$
            9, 122,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_9_183 = new TagInfo("c:get", //$NON-NLS-1$
            9, 183,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "($attribute/@javaType)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_9_224 = new TagInfo("c:get", //$NON-NLS-1$
            9, 224,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($attribute/@name)", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        //Containing是字段是String类型时才需要生成，其他类型待定
        RuntimeTagElement _jettag_c_iterate_2_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_2_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_iterate_2_1.setRuntimeParent(null);
        _jettag_c_iterate_2_1.setTagInfo(_td_c_iterate_2_1);
        _jettag_c_iterate_2_1.doStart(context, out);
        while (_jettag_c_iterate_2_1.okToProcessBody()) {
            out.write("\t\tpublic ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_import_3_10 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_3_10); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_import_3_10.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_java_import_3_10.setTagInfo(_td_java_import_3_10);
            _jettag_java_import_3_10.doStart(context, out);
            JET2Writer _jettag_java_import_3_10_saved_out = out;
            while (_jettag_java_import_3_10.okToProcessBody()) {
                out = out.newNestedContentWriter();
                out.write("java.util.Set");  //$NON-NLS-1$        
                _jettag_java_import_3_10.handleBodyContent(out);
            }
            out = _jettag_java_import_3_10_saved_out;
            _jettag_java_import_3_10.doEnd();
            out.write("<");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_3_51 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_51); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_3_51.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_3_51.setTagInfo(_td_c_get_3_51);
            _jettag_c_get_3_51.doStart(context, out);
            _jettag_c_get_3_51.doEnd();
            out.write("> find");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_3_107 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_107); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_3_107.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_3_107.setTagInfo(_td_c_get_3_107);
            _jettag_c_get_3_107.doStart(context, out);
            _jettag_c_get_3_107.doEnd();
            out.write("By");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_3_159 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_159); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_3_159.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_3_159.setTagInfo(_td_c_get_3_159);
            _jettag_c_get_3_159.doStart(context, out);
            _jettag_c_get_3_159.doEnd();
            out.write("(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_3_210 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_210); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_3_210.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_3_210.setTagInfo(_td_c_get_3_210);
            _jettag_c_get_3_210.doStart(context, out);
            _jettag_c_get_3_210.doEnd();
            out.write(" ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_3_251 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_251); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_3_251.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_3_251.setTagInfo(_td_c_get_3_251);
            _jettag_c_get_3_251.doStart(context, out);
            _jettag_c_get_3_251.doEnd();
            out.write(") throws ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_import_3_310 = context.getTagFactory().createRuntimeTag(_jetns_java, "import", "java:import", _td_java_import_3_310); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_import_3_310.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_java_import_3_310.setTagInfo(_td_java_import_3_310);
            _jettag_java_import_3_310.doStart(context, out);
            JET2Writer _jettag_java_import_3_310_saved_out = out;
            while (_jettag_java_import_3_310.okToProcessBody()) {
                out = out.newNestedContentWriter();
                out.write("org.springframework.dao.DataAccessException");  //$NON-NLS-1$        
                _jettag_java_import_3_310.handleBodyContent(out);
            }
            out = _jettag_java_import_3_310_saved_out;
            _jettag_java_import_3_310.doEnd();
            out.write(";");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\tpublic Set<");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_5_14 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_5_14); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_5_14.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_5_14.setTagInfo(_td_c_get_5_14);
            _jettag_c_get_5_14.doStart(context, out);
            _jettag_c_get_5_14.doEnd();
            out.write("> find");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_5_70 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_5_70); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_5_70.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_5_70.setTagInfo(_td_c_get_5_70);
            _jettag_c_get_5_70.doStart(context, out);
            _jettag_c_get_5_70.doEnd();
            out.write("By");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_5_122 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_5_122); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_5_122.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_5_122.setTagInfo(_td_c_get_5_122);
            _jettag_c_get_5_122.doStart(context, out);
            _jettag_c_get_5_122.doEnd();
            out.write("(");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_5_173 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_5_173); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_5_173.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_5_173.setTagInfo(_td_c_get_5_173);
            _jettag_c_get_5_173.doStart(context, out);
            _jettag_c_get_5_173.doEnd();
            out.write(" ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_5_214 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_5_214); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_5_214.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_get_5_214.setTagInfo(_td_c_get_5_214);
            _jettag_c_get_5_214.doStart(context, out);
            _jettag_c_get_5_214.doEnd();
            out.write(", int startResult, int maxRows) throws DataAccessException;");  //$NON-NLS-1$        
            out.write(NL);         
            RuntimeTagElement _jettag_c_if_6_2 = context.getTagFactory().createRuntimeTag(_jetns_c, "if", "c:if", _td_c_if_6_2); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_if_6_2.setRuntimeParent(_jettag_c_iterate_2_1);
            _jettag_c_if_6_2.setTagInfo(_td_c_if_6_2);
            _jettag_c_if_6_2.doStart(context, out);
            while (_jettag_c_if_6_2.okToProcessBody()) {
                out.write("\t\tpublic Set<");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_14 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_14); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_14.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_7_14.setTagInfo(_td_c_get_7_14);
                _jettag_c_get_7_14.doStart(context, out);
                _jettag_c_get_7_14.doEnd();
                out.write("> find");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_70 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_70); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_70.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_7_70.setTagInfo(_td_c_get_7_70);
                _jettag_c_get_7_70.doStart(context, out);
                _jettag_c_get_7_70.doEnd();
                out.write("By");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_122 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_122); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_122.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_7_122.setTagInfo(_td_c_get_7_122);
                _jettag_c_get_7_122.doStart(context, out);
                _jettag_c_get_7_122.doEnd();
                out.write("Containing(");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_183 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_183); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_183.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_7_183.setTagInfo(_td_c_get_7_183);
                _jettag_c_get_7_183.doStart(context, out);
                _jettag_c_get_7_183.doEnd();
                out.write(" ");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_7_224 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_224); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_7_224.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_7_224.setTagInfo(_td_c_get_7_224);
                _jettag_c_get_7_224.doStart(context, out);
                _jettag_c_get_7_224.doEnd();
                out.write("_1) throws DataAccessException;");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t");  //$NON-NLS-1$        
                out.write(NL);         
                out.write("\t\tpublic Set<");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_9_14 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_9_14); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_9_14.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_9_14.setTagInfo(_td_c_get_9_14);
                _jettag_c_get_9_14.doStart(context, out);
                _jettag_c_get_9_14.doEnd();
                out.write("> find");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_9_70 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_9_70); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_9_70.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_9_70.setTagInfo(_td_c_get_9_70);
                _jettag_c_get_9_70.doStart(context, out);
                _jettag_c_get_9_70.doEnd();
                out.write("By");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_9_122 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_9_122); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_9_122.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_9_122.setTagInfo(_td_c_get_9_122);
                _jettag_c_get_9_122.doStart(context, out);
                _jettag_c_get_9_122.doEnd();
                out.write("Containing(");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_9_183 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_9_183); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_9_183.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_9_183.setTagInfo(_td_c_get_9_183);
                _jettag_c_get_9_183.doStart(context, out);
                _jettag_c_get_9_183.doEnd();
                out.write(" ");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_9_224 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_9_224); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_9_224.setRuntimeParent(_jettag_c_if_6_2);
                _jettag_c_get_9_224.setTagInfo(_td_c_get_9_224);
                _jettag_c_get_9_224.doStart(context, out);
                _jettag_c_get_9_224.doEnd();
                out.write("_1, int startResult, int maxRows) throws DataAccessException;");  //$NON-NLS-1$        
                out.write(NL);         
                _jettag_c_if_6_2.handleBodyContent(out);
            }
            _jettag_c_if_6_2.doEnd();
            _jettag_c_iterate_2_1.handleBodyContent(out);
        }
        _jettag_c_iterate_2_1.doEnd();
    }
}
